package com.zking.ssm.He.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderGoods {
    private Integer id;

    private Integer oid;

    private Integer gid;

    private Short num;

    private BigDecimal price;

    private String specKey;

    private String specKeyValue;

    private Boolean commentStatus;

    private Date submitTime;

    private String img;

    private String goodsName;

    public OrderGoods(Integer id, Integer oid, Integer gid, Short num, BigDecimal price, String specKey, String specKeyValue, Boolean commentStatus, Date submitTime, String img, String goodsName) {
        this.id = id;
        this.oid = oid;
        this.gid = gid;
        this.num = num;
        this.price = price;
        this.specKey = specKey;
        this.specKeyValue = specKeyValue;
        this.commentStatus = commentStatus;
        this.submitTime = submitTime;
        this.img = img;
        this.goodsName = goodsName;
    }

    public OrderGoods() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Short getNum() {
        return num;
    }

    public void setNum(Short num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getSpecKey() {
        return specKey;
    }

    public void setSpecKey(String specKey) {
        this.specKey = specKey;
    }

    public String getSpecKeyValue() {
        return specKeyValue;
    }

    public void setSpecKeyValue(String specKeyValue) {
        this.specKeyValue = specKeyValue;
    }

    public Boolean getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Boolean commentStatus) {
        this.commentStatus = commentStatus;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
}